/*
*    Author : heiden deng(dengjianquan@beyondcent.com)
*    2017/05/15
*    version 0.0.9
*    黑白名单处理类接口声明
*/

#pragma once

#ifndef HTSC_ROUTER_H
#define HTSC_ROUTER_H
#include "htsc_registry/url.h"
#include "htsc_common/htsc_grpc_properties_tools.h"
#include "htsc_common/htsc_grpc_utils.h"

#include<vector>

#ifdef __cplusplus
extern "C" {
#endif

class Router
{
public:
	virtual int route(std::vector<provider_t*> &providers, url_t *url_param) = 0;
};

#ifdef __cplusplus
}
#endif

#endif // !HTSC_ROUTER_H
